MailerLite\Includes\Shared\Api\MailerLiteAPI A

Total Complexity 74
Dependencies 1
Dependents 1
Total lines 1,239
Lines of code 449
Logical lines of code 203
Comment lines 509
Methods 52
Properties 4

Methods 52

Method Rating Maintainability Complexity Lines of code
syncOrder()
S
52 5 24
parseResponse()
S
57 5 18
syncCustomer()
S
53 4 22
getGroups()
S
56 3 18
getFields()
S
58 3 16
getDoubleOptin()
S
64 4 10
setConsumerData()
S
51 2 29
syncCustomerWooCommerce()
S
56 2 19
syncProduct()
S
56 2 17
updateCart()
S
60 2 12
createShop()
S
58 1 15
getCartItems()
S
71 1 5
importCategories()
S
69 1 6
updateOrder()
S
64 1 9
replaceProductCategories()
S
64 1 9
importProducts()
S
69 1 6
deleteProduct()
S
71 1 5
syncCategory()
S
65 1 8
responseCode()
S
82 1 3
deleteCategory()
S
71 1 5
deleteCartItem()
S
71 1 5
updateCustomer()
S
64 1 9
deleteCustomer()
S
71 1 5
fetchCustomer()
S
71 1 5
getResponseBody()
S
82 1 3
addCartItem()
S
71 1 5
batch()
S
72 1 5
replaceCartItems()
S
66 1 8
deleteOrder()
S
71 1 5
__construct()
S
66 1 8
importCustomers()
S
69 1 6
sendSubscriberData()
S
63 1 10
updateSubscriber()
S
91 1 2
updateSubscriberStatus()
S
66 1 8
searchSubscriber()
S
72 1 5
checkMoreGroups()
S
66 1 8
getMoreGroups()
S
66 1 8
setDoubleOptin()
S
77 1 4
createField()
S
66 1 8
updateField()
S
70 1 6
saveOrder()
S
82 1 3
importOrders()
S
67 1 7
sendOrderProcessing()
S
66 1 8
sendCart()
S
66 1 8
toggleShop()
S
65 1 9
getShopSettings()
S
72 1 5
validateAccount()
S
72 1 5
getShops()
S
72 1 5
getShop()
S
72 1 5
deleteshop()
S
72 1 5
validateKey()
S
72 1 5
fetchOrder()
S
71 1 5